<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mz')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mz" class="form-control" name="row[mz]" type="number" value="{$row.mz|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text" value="{$row.title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cb')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cb" class="form-control" name="row[cb]" type="number" value="{$row.cb|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number"
                value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Api')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-api" class="form-control" name="row[api]" type="number" value="{$row.api|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('产品码')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-code" class="form-control" name="row[code]" value="{$row.code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="c-type" class="form-control btn-group  selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.type" }selected{/in}>{$vo} </option> {/foreach}
                    </select> </div> </div> <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">{:__('Yys')}:</label>
                    <div class="col-xs-12 col-sm-8">

                        <select id="c-yys" class="form-control btn-group  selectpicker" name="row[yys]">
                            {foreach name="yysList" item="vo"}
                            <option value="{$key}" {in name="key" value="$row.yys" }selected{/in}>{$vo} </option>
                                {/foreach} </select> </div> </div> <div class="form-group">
                                <label class="control-label col-xs-12 col-sm-2">{:__('Statuss')}:</label>
                                <div class="col-xs-12 col-sm-8">

                                    <select id="c-statuss" class="form-control btn-group  selectpicker"
                                        name="row[statuss]">
                                        {foreach name="statussList" item="vo"}
                                        <option value="{$key}" {in name="key" value="$row.statuss" }selected{/in}>{$vo}
                                            </option> {/foreach} </select> </div> </div> <div class="form-group">
                                            <label class="control-label col-xs-12 col-sm-2">{:__('Forbid')}:</label>
                                            <div class="col-xs-12 col-sm-8">
                                                <input id="c-forbid" class="form-control" name="row[forbid]" type="text"
                                                    value="{$row.forbid|htmlentities}">
                                            </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
                                    <div class="col-xs-12 col-sm-8">
                                        <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]"
                                            type="number" value="{$row.weigh|htmlentities}">
                                    </div>
                                </div>
                                <div class="form-group layer-footer">
                                    <label class="control-label col-xs-12 col-sm-2"></label>
                                    <div class="col-xs-12 col-sm-8">
                                        <button type="submit"
                                            class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
                                    </div>
                                </div>
</form>